include /data/redis/etc/redis_common.conf
port 6379
logfile "/data/redis/logs/redis_6379.log"
maxmemory {{ memory }}
maxmemory-policy allkeys-lru
appendfilename "appendonly_6379.aof"
dbfilename "dump_6379.rdb"
auto-aof-rewrite-percentage 80
daemonize yes
bind 0.0.0.0
tcp-keepalive 60
dir "/data/redis/data"
masterauth "{{ passwd }}"
requirepass "{{ passwd }}"
appendonly yes
no-appendfsync-on-rewrite yes
protected-mode no
